Finding The Greedy, Prodigal, and Suicidal Contracts at Scale

نویسندگان

  • Ivica Nikolic
  • Aashish Kolluri
  • Ilya Sergey
  • Prateek Saxena
  • Aquinas Hobor
چکیده

Smart contracts—stateful executable objects hosted on blockchains like Ethereum—carry billions of dollars worth of coins and cannot be updated once deployed. We present a new systematic characterization of a class of trace vulnerabilities, which result from analyzing multiple invocations of a contract over its lifetime. We focus attention on three example properties of such trace vulnerabilities: finding contracts that either lock funds indefinitely, leak them carelessly to arbitrary users, or can be killed by anyone. We implemented MAIAN, the first tool for precisely specifying and reasoning about trace properties, which employs inter-procedural symbolic analysis and concrete validator for exhibiting real exploits. Our analysis of nearly one million contracts flags 34,200 (2,365 distinct) contracts vulnerable, in 10 seconds per contract. On a subset of 3,759 contracts which we sampled for concrete validation and manual analysis, we reproduce real exploits at a true positive rate of 89%, yielding exploits for 3,686 contracts. Our tool finds exploits for the infamous Parity bug that indirectly locked 200 million dollars worth in Ether, which previous analyses failed to capture.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Validity of the Integrated Motivational-Volitional Model of Suicidal Behavior in Students: Structural Model

Objectives The current study aimed at validating the Integrated Motivational-Volitional Model of suicidal behavior in Iranian students.  Methods The population of the current descriptive correlational and structural equation model included all students of Ardabil city among which 520 people of Mohaghegh Ardabili University students were selected as the sample. Suicide Attempt Scale, The Suicid...

متن کامل

Suicidal Ideations in Patients With Obsessive-Compulsive Disorder

Background: There are many controversies about the frequency and burden of suicidality in patients with Obsessive-Compulsive Disorder (OCD). Objectives: This study was done to determine the prevalence and risk factors of current suicidal ideations in patients with OCD. Materials & Methods: In this cross-sectional study, 258 outpatients with OCD (Yale-Brawn Obsessive Compulsive Scale, Y-BOCS ≥...

متن کامل

The Moderating Role of Gender in the Relationship between Psychological Strain, Sensitivity to Rejection and Defeat with Adolescent Suicide Ideation in Adolescents: The Mediating Role of Depression and Hopelessness

Objectives:  Identifying suicidal ideation in adolescents can help timely intervention for people at risk. The present study was conducted with the aim of the moderating role of gender in the relationship between psychological strain, sensitivity to rejection and defeat with adolescent suicide ideation in adolescents: the mediating role of depression and hopelessness. Methods: The current cros...

متن کامل

کارکرد خانواده ادراک شده و افکار خودکشی دانشجویان: نقش تعدیل کننده ناامیدی

Objectives: The present study aims to determine whether the association between family function and suicidal ideation on one hand and correlation of family functions and hopelessness on the other hand can be supposed that hopelessness acts as a moderator in the association between family functions and suicidal ideation. Methods: For this, 373 accessible Shahid Beheshti students were selected...

متن کامل

The effectiveness of compassion-focused therapy on anxiety, depression and suicidal thoughts in women with vitiligo

Background and Aim: Vitiligo is a depigmenting skin disorder, which has a great impact on the psyches of patients. The present study aimed at investigating the effectiveness of compassion-based treatment on anxiety, depression, and suicidal ideation of women with vitiligo. Methods: This study was designed as a pre-test and post-test semi-experimental with a one-month follow-up and control gr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1802.06038  شماره 

صفحات  -

تاریخ انتشار 2018